import request from '@/api/utils/request';

// 宿舍个人考核分页查询，综合查询
export const getAssessList = data =>
  request({
    method: 'post',
    url: '/schExamine/listStudentExamine',
    data
  });

// 宿舍考核详情---个人
export const getStudentExamineDetails = data =>
  request({
    method: 'get',
    url: '/schExamine/getStudentExamineDetails',
    params: data
  });

// 获取周期内个人综合考核扣分分数信息 宿舍考核详情---个人
export const getStudentSummaryExamineScore = data =>
  request({
    method: 'post',
    url: '/schExamine/getStudentSummaryExamineScore',
    data
  });

// 获取指定一天内个人综合考核扣分详细信息
export const getStudentDayExamineDetail = data =>
  request({
    method: 'post',
    url: '/schExamine/getStudentDayExamineDetail',
    data
  });
// 宿舍个人考核分页查询(排名)
export const listRankStudentExamine = data =>
  request({
    method: 'post',
    url: '/schExamine/listRankStudentExamine',
    data
  });

// 导出个人综合考核排名
export const exportRankStudentExamine = data =>
  request({
    method: 'post',
    url: '/schExamine/exportRankStudentExamine',
    data,
    responseType: 'blob'
  });

// 导出个人综合考核
export const exportSummaryStudentExamine = data =>
  request({
    method: 'post',
    url: '/schExamine/exportSummaryStudentExamine',
    data,
    responseType: 'blob'
  });

// 导出学生个人考核
export const exportStudentExamine = data =>
  request({
    method: 'post',
    url: '/schExamine/exportStudentExamine',
    data,
    responseType: 'blob'
  });
